package com.wn.service;

import com.github.pagehelper.PageInfo;
import com.wn.base.BaseService;
import com.wn.entity.Emp;
import com.wn.entity.PageParam;
import com.wn.entity.Userinfo;
import com.wn.service.impl.UserinfoServiceImpl;
import com.wn.utils.Rsp;

import java.util.List;

/**
 * (Userinfo)表服务接口
 *
 * @author makejava
 * @since 2020-10-26 09:43:15
 */
public interface UserinfoService {

    PageInfo<Userinfo> searchSomeByPage(PageParam<Userinfo> pageParam);

    Rsp updateId(Userinfo newsorder);

    Rsp addOne(Userinfo newsorder);

    //根据id逻辑删除
    Rsp deleteOneTrue(String id);

    /**
     * 登录
     * @param loginEmp
     * @return
     */
    Rsp userinfoLogin(Userinfo loginEmp);


    Userinfo queryById(String id);
    Rsp selphone(String phone,String password);

    Rsp forgetPassword(Userinfo userinfo);
}
